package com.shop.vo.seller;

import com.shop.vo.PageVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.util.Assert;

@Data
public class SelectCommodityByWarehouseVo extends PageVo {

    /**
     * 仓库id
     */
    @ApiModelProperty("仓库id")
    private Long pkWarehouseInfoId;


    public void checkParameters()throws Exception{
        Assert.notNull(this.pkWarehouseInfoId,"仓库id不能为空");
    }
}
